package com.estate.common.core.domain.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户表 sys_dept
 *
 * @author ruoyi
 */
@Data
public class SysDeptAddReq implements Serializable
{
    private static final long serialVersionUID = 1L;

    @NotNull(message = "ParentId cannot be empty")
    private Long parentId;

    @NotBlank(message = "TeamName cannot be empty")
    private String name;

    private String type;

    private String status;

}
